#pragma once

#include "CoreMinimal.h"
#include "LoadCsvFile.h"
#include "AnimNodes/AnimNode_ModifyCurve.h"
#include "Math/UnrealMathUtility.h"
#include "AnimNode_Demo.generated.h"


USTRUCT(BlueprintType)
struct ANIMCSV_API FMotionMatchingStruct : public FAnimNode_ModifyCurve
{
	GENERATED_BODY()
public:
	FMotionMatchingStruct();

	//面捕数据
	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = ModifyCurve, meta = (PinShownByDefault))
	FMyStructs FaceData;

	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = ModifyCurve, meta = (PinShownByDefault))
	FMyDeformerNameStructs Names;

	//播放动画的进度
	int PlayValue = 0;

	virtual void Initialize_AnyThread(const FAnimationInitializeContext& Context) override;
	virtual void Update_AnyThread(const FAnimationUpdateContext& Context) override;
};